package com.health.service.impl;

import com.health.domain.CheckGroup;
import com.health.mapper.CheckGroupMapper;
import com.health.service.CheckGroupService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class CheckGroupServiceImpl implements CheckGroupService {
    @Autowired
    private CheckGroupMapper checkGroupMapper;

    @Override
    public CheckGroup findById(Integer id) {
        return checkGroupMapper.fingById(id);
    }

    @Override
    public Integer[] findAll(Integer id) {
        return checkGroupMapper.findAll(id);
    }
}
